﻿using System;
using OA.DBUtility;

namespace OA.Model
{
    /// <summary>
    /// Performance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("Performance")]
    public partial class PerformanceInfo
    {
        public PerformanceInfo()
        {
        }

        #region Model

        private int _id;
        private int? _employeeid;
        private int? _year;
        private int? _month;
        private string _joblevel;
        private decimal? _joblevelyears;
        private string _jobrank;
        private string _suitablesalary;
        private string _series;
        private string _matchdegree;
        private string _isexceptional;
        private string _jobType;
        private DateTime? _assessmentTime = DateTime.Now;
        private string _assessmentLevelId;
        private string _departmentid;
        private string _postid;
        private string _educationimage;
        private string _professionalimage;
        private string _titleimage;
        private DateTime? _worktime;
        private string _professionaltime;

        [DataField("JobType")]
        public string JobType
        {
            get { return _jobType; }
            set { _jobType = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("EmployeeId")]
        public int? EmployeeId
        {
            set { _employeeid = value; }
            get { return _employeeid; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("Year")]
        public int? Year
        {
            set { _year = value; }
            get { return _year; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("Month")]
        public int? Month
        {
            set { _month = value; }
            get { return _month; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("JobLevel")]
        public string JobLevel
        {
            set { _joblevel = value; }
            get { return _joblevel; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("JobLevelYears")]
        public decimal? JobLevelYears
        {
            set { _joblevelyears = value; }
            get { return _joblevelyears; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("JobRank")]
        public string JobRank
        {
            set { _jobrank = value; }
            get { return _jobrank; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("SuitableSalary")]
        public string SuitableSalary
        {
            set { _suitablesalary = value; }
            get { return _suitablesalary; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("Series")]
        public string Series
        {
            set { _series = value; }
            get { return _series; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("MatchDegree")]
        public string MatchDegree
        {
            set { _matchdegree = value; }
            get { return _matchdegree; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("IsExceptional")]
        public string IsExceptional
        {
            set { _isexceptional = value; }
            get { return _isexceptional; }
        }

        /// <summary>
        ///  评价时间
        /// </summary>
        [DataField("AssessmentTime")]
        public DateTime? AssessmentTime
        {
            set { _assessmentTime = value; }
            get { return _assessmentTime; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("AssessmentLevelId")]
        public string AssessmentLevelId
        {
            set { _assessmentLevelId = value; }
            get { return _assessmentLevelId; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("DepartmentId")]
        public string DepartmentId
        {
            set { _departmentid = value; }
            get { return _departmentid; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("PostId")]
        public string PostId
        {
            set { _postid = value; }
            get { return _postid; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("EducationImage")]
        public string EducationImage
        {
            set { _educationimage = value; }
            get { return _educationimage; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("ProfessionalImage")]
        public string ProfessionalImage
        {
            set { _professionalimage = value; }
            get { return _professionalimage; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("TitleImage")]
        public string TitleImage
        {
            set { _titleimage = value; }
            get { return _titleimage; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("WorkTime")]
        public DateTime? WorkTime
        {
            set { _worktime = value; }
            get { return _worktime; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("ProfessionalTime")]
        public string ProfessionalTime
        {
            set { _professionaltime = value; }
            get { return _professionaltime; }
        }
        #endregion Model

    }
}

